﻿<UserControl x:Class="AutoCorrelatorGUI.View.OptionsView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:p="clr-namespace:AutoCorrelatorGUI.Properties"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:local="clr-namespace:AutoCorrelatorGUI.View"
             mc:Ignorable="d" 
             DataContext="{Binding Options, Source={StaticResource Locator}}"
             d:DesignHeight="157.263" d:DesignWidth="381.899" Background="White">
    <Grid>
        <GroupBox Header="Options" VerticalAlignment="Top" >
            <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="*"/>
                </Grid.ColumnDefinitions>
                <TextBlock Text="Normalization Method" TextTrimming="CharacterEllipsis" Padding="2,3,0,0" Height="22" VerticalAlignment="Top" ToolTip="{x:Static p:Resources.TT_Options_NormalizationMethod}"/>
                <ComboBox VerticalAlignment="Top" Grid.Column="1" HorizontalContentAlignment="Stretch" ItemsSource="{Binding NormalizationOptionList}" SelectedValuePath="Key" DisplayMemberPath="Value" SelectedValue="{Binding NormalizationChoice}" ToolTip="{x:Static p:Resources.TT_Options_NormalizationMethod}"/>
                <TextBlock Text="Calculate First Derivative" TextTrimming="CharacterEllipsis" Padding="2,3,0,0" Margin="0,27,0,0" Height="22" VerticalAlignment="Top" ToolTip="{x:Static p:Resources.TT_Options_CalculateDerivative}"/>
                <CheckBox Content="" Grid.Column="1" HorizontalAlignment="Left" Margin="0,33,0,0" VerticalAlignment="Top" IsChecked="{Binding CalcFirstDerivative}" ToolTip="{x:Static p:Resources.TT_Options_CalculateDerivative}"/>
                <TextBlock Text="Comparison Well" TextTrimming="CharacterEllipsis" Padding="2,3,0,0" Margin="0,54,0,0" Height="22" VerticalAlignment="Top" ToolTip="{x:Static p:Resources.TT_Options_ComparisonWell}"/>
                <ComboBox VerticalAlignment="Top" Grid.Column="1" HorizontalContentAlignment="Stretch" ItemsSource="{Binding InternalWellData}" DisplayMemberPath="Title" SelectedValue="{Binding CompareWell}" Margin="0,54,0,0" ToolTip="{x:Static p:Resources.TT_Options_ComparisonWell}"/>
                <TextBlock Text="Interval Time (ms)" TextTrimming="CharacterEllipsis" Padding="2,3,0,0" Margin="0,82,0,0" Height="22" VerticalAlignment="Top" ToolTip="{x:Static p:Resources.TT_Options_IntervalTime}"/>
                <TextBox Height="23" Margin="0,81,0,3" TextWrapping="Wrap" VerticalAlignment="Top" Text="{Binding IntervalTimeMS}" Grid.Column="1" ToolTip="{x:Static p:Resources.TT_Options_IntervalTime}"/>
                <TextBlock Text="Mother Wavelet" TextTrimming="CharacterEllipsis" Padding="2,3,0,0" Height="22" VerticalAlignment="Top" ToolTip="{x:Static p:Resources.TT_Options_MotherWavelet}" Margin="0,109,0,0"/>
                <ComboBox VerticalAlignment="Top" Grid.Column="1" HorizontalContentAlignment="Stretch" ItemsSource="{Binding MotherWaveletOptionList}" SelectedValuePath="Key" DisplayMemberPath="Value" SelectedValue="{Binding MotherWaveletChoice}" Margin="0,109,0,0" ToolTip="{x:Static p:Resources.TT_Options_MotherWavelet}"/>
            </Grid>
        </GroupBox>
    </Grid>
</UserControl>
